import request from "@/utils/request";

function loadProfile(data){
	return request.get('/amazonadv/api/v1/advert/loadProfile',{params:data});
}
function addSerchHistory(data){
	return request.get('/amazonadv/api/v1/searchHistory/addSerchHistory',{params:data});
}
function getSerchHistory(data){
	return request.get('/amazonadv/api/v1/searchHistory/getSerchHistory',{params:data});
}
function deleteSerchHistory(data){
	return request.get('/amazonadv/api/v1/searchHistory/deleteSerchHistory',{params:data});
}
function loadCampaignsNotArchived(data){
	return request.get('/amazonadv/api/v1/advert/loadCampaignsNotArchived',{params:data});
}
function loadAdGroup(data){
	return request.get('/amazonadv/api/v1/advert/loadAdGroup',{params:data});
}
function findPortfoliosForProfileId(data){
	return request.get('/amazonadv/api/v1/AdvertPortfolios/findPortfoliosForProfileId',{params:data});
}

export default{
	loadProfile,addSerchHistory,getSerchHistory,deleteSerchHistory,loadCampaignsNotArchived,
	loadAdGroup,findPortfoliosForProfileId,
}


